package org.yes.util;

import java.io.Closeable;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;

/**
 * User: mtymes
 * Date: Jan 22, 2010
 * Time: 10:08:56 AM
 */
// todo: use commons util instead
public class IOUtil {

    public static void closeQuietly(final Closeable closeable) {
        try {
            if (closeable != null) {
                closeable.close();
            }
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}